#pragma once
#include "InterFaceDecorator.h"
#include <QString>


class CarDecorator : public InterFaceCar
{
public:
    CarDecorator(std::shared_ptr<InterFaceCar> pCar);
    virtual ~CarDecorator();


    // 通过 InterFaceCarDecorator 继承
    void Move() override;


private:

    //车对象;
    std::shared_ptr<InterFaceCar> m_pCar;
};

